package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.ClientCrmHighseasCreateValidate;
import com.mdd.admin.validate.ClientCrmHighseasUpdateValidate;
import com.mdd.admin.validate.ClientCrmHighseasSearchValidate;
import com.mdd.admin.vo.ClientCrmHighseasListedVo;
import com.mdd.admin.vo.ClientCrmHighseasDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 客户公海服务接口类
 * @author LikeAdmin
 */
public interface IClientCrmHighseasService {

    /**
     * 客户公海列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<ClientCrmHighseasListedVo>
     */
    PageResult<ClientCrmHighseasListedVo> list(PageValidate pageValidate, ClientCrmHighseasSearchValidate searchValidate);

    /**
     * 客户公海详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return ClientCrmHighseasDetailVo
     */
    ClientCrmHighseasDetailVo detail(Integer id);

    /**
     * 客户公海新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(ClientCrmHighseasCreateValidate createValidate);

    /**
     * 客户公海编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(ClientCrmHighseasUpdateValidate updateValidate);

    /**
     * 客户公海删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

}
